package 两数之和;

import java.util.Arrays;

public class Test2 {

    public static void main(String[] args) {
        /*int[] nums = {2,7,11,15};
        int target = 9;*/
        int[] nums = {2,5,5,11};
        int target = 10;
        Solution2 solution = new Solution2();
        int[] result = solution.twoSum(nums, target);
        Arrays.stream(result).asLongStream().forEach(System.out::println);
    }

}
